/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package testapp;

import dao.CustomerDao;
import java.util.List;
import model.Customer;

/**
 *
 * @author Administrator
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {



        CustomerDao customerDao=new CustomerDao();


        Customer customer=new Customer();
        customer.setAddres("bonani");
        customer.setName("masum-bjit");
        /*
        Customer customer1 = customerDao.findCustomer(2);
        customer1.setName("mamun");
        customerDao.updateCustomer(customer1);
         */
        //  customerDao.insertCustomer(customer);
        List<Customer> customerList = customerDao.getCustomerList();
        System.out.println("size : "+customerList.size());

        // TODO code application logic here
    }

}
